package com.lframework.xingyun.basedata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author bogewang
 * @since 2024-09-29
 */
@Getter
@Setter
@TableName("tl_army_sale_order")
public class ArmySaleOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 日期
     */
    @TableField("date")
    private LocalDateTime date;

    /**
     * 品名
     */
    @TableField("product_name")
    private String productName;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 数量
     */
    @TableField("num")
    private BigDecimal num;

    /**
     * 价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 税率
     */
    @TableField("tax_rate")
    private String taxRate;

    /**
     * 客户
     */
    @TableField("customer")
    private String customer;

    /**
     * 子客户
     */
    @TableField("sub_customer")
    private String subCustomer;
}
